<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS轮播</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <div class="container middle">

        <div class="slider">
            <input type="radio" name="r" id="r1" checked>
            <input type="radio" name="r" id="r2">
            <input type="radio" name="r" id="r3">
            <input type="radio" name="r" id="r4">
            <input type="radio" name="r" id="r5">
            <div class="slide s1">
                <img src="https://img.alicdn.com/imgextra/i1/386715097/O1CN01ZS6W9x1nWTQtXtsSv_!!386715097.jpg" alt="">
            </div>
            <div class="slide">
                <img src="https://img.alicdn.com/imgextra/i3/386715097/O1CN01VY9FtD1nWTQs0dBgt_!!386715097.jpg" alt="">
            </div>
            <div class="slide">
                <img src="https://img.alicdn.com/imgextra/i3/386715097/O1CN01QkUl9y1nWTQiuIWEa_!!386715097.jpg" alt="">
            </div>
            <div class="slide">
                <img src="https://img.alicdn.com/imgextra/i1/386715097/O1CN01MqYexD1nWTQtXt0Qe_!!386715097.jpg" alt="">
            </div>
            <div class="slide">
                <img src="https://img.alicdn.com/imgextra/i4/386715097/O1CN01rYBQpP1nWTQoT0dto_!!386715097.jpg" alt="">
            </div>
        </div>

        <div class="navigation">
            <label for="r1" class="bar"></label>
            <label for="r2" class="bar"></label>
            <label for="r3" class="bar"></label>
            <label for="r4" class="bar"></label>
            <label for="r5" class="bar"></label>
        </div>
    </div>
</body>

</html>